//
//  MineCollectViewController.m
//  Share_Home_F
//
//  Created by dllo on 15/4/22.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MineCollectViewController.h"
#import "MineCollectCell.h"

@interface MineCollectViewController ()
@property (nonatomic, retain)NSMutableArray *arr;
@property (nonatomic, retain)NSMutableArray *numArr;
@end

@implementation MineCollectViewController
-(instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        self.title = @"我的收藏";
        self.arr = [NSMutableArray arrayWithObjects:@"图片数量",@"排行榜数量",@"专题数量", nil];
        self.numArr = [NSMutableArray arrayWithObjects:@"344", @"32", @"5", nil];
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self.tableView registerClass:[MineCollectCell class] forCellReuseIdentifier:@"mineCollect"];
}

-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return [self.arr count];
}
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    MineCollectCell *cell = [tableView dequeueReusableCellWithIdentifier:@"mineCollect"];
    cell.myLabel.text = self.arr[indexPath.row];
    cell.numLabel.text = self.numArr[indexPath.row];
 
    return cell;
}










- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
